import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/index'
import H from '@/components/111'
import Login from '@/components/login/login'

import tt from '../components/tt.vue'
import aa from '../components/aa.vue'
import bb from '../components/bb.vue'
import cc from '../components/cc.vue'
import dd from '../components/dd.vue'
import ee from '../components/ee.vue'
import ff from '../components/ff.vue'
import gg from '../components/gg.vue'

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/',
      name: 'index',
      component: Index,
      children: [{
          path: '/H',
          name: 'H',
          component: H
        },
        {
          path: '/tt',
          name: 'tt',
          component: tt
        },
        {
          path: '/aa',
          name: 'aa',
          component: aa
        },
        {
          path: '/bb',
          name: 'bb',
          component: bb
        },
        {
          path: '/cc',
          name: 'cc',
          component: cc
        },
        {
          path: '/dd',
          name: 'dd',
          component: dd
        },
        {
          path: 'ee',
          name: 'ee',
          component: ee
        },
        {
          path: 'ff',
          name: 'ff',
          component: ff
        },
        {
          path: 'gg',
          name: 'gg',
          component: gg
        },
      ]
    },



  ]
})
